import { constantRoutes } from '@/router'

export default {
  namespaced: true,
  state: {
    menusList: [...constantRoutes]
  },
  mutations: {
    setMenusList(state, asyncRoutes) {
      state.menusList = [...constantRoutes, ...asyncRoutes]
    }
  }

}
